<template>
  <div>
    <h1>这是主应用</h1>
    <WujieVue
      width="100%"
      height="100%"
      name="xxx"
      url="http://localhost:5174/"
      :sync="true"
      :fetch="fetch"
      :props="props"
      :beforeLoad="beforeLoad"
      :beforeMount="beforeMount"
      :afterMount="afterMount"
      :beforeUnmount="beforeUnmount"
      :afterUnmount="afterUnmount"
    ></WujieVue>
  </div>
</template>

<script setup lang="ts">
import { ref, reactive } from "vue";
import { bus } from "wujie";

bus.$on("vue3", (data: any) => {
  console.log(data, "我是主应用");
});
</script>

<style scoped lang="less"></style>
